# coding:utf-8
# coder:DongLing
# 浏览器截图

from selenium import webdriver

dr = webdriver.Chrome()
dr.get("https://www.baidu.com")

file_name_ss = '截图.png'
dr.get_screenshot_as_file(file_name_ss)
dr.quit()
